﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace MiniWeb.Web.Controllers.Admin.LinksManager.ViewModels
{
    public class SaveLinks 
    {
        
        public int? ID { get; set; }

        [Display(Name = "链接名称")]
        [Required(ErrorMessage="名称不能为空")]
        public string linkName { get; set; }

        [Display(Name = "链接地址")]
        [Required(ErrorMessage = "地址不能为空")]
        public string linkAddress { get; set; }
    }
}
